package com.trust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author ccc
 * @desc
 * @since 2023/9/13 14:38
 */
@Data
@Accessors(chain = true)
@ApiModel(value="Dictionary对象", description="数据字典表")
@TableName("dictionary")
public class Dictionary {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("状态")
    private Integer enabled;

    @ApiModelProperty("父id")
    private Integer parentId;

}
